<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>下载地址</title>
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	</head>
	<body>
		<div>
			<p style='padding: 20px 0;text-align:center;font-size:18px' id="message"></p>
			</div>
	</body>
	<script>
			//通过判断浏览器的userAgent 用正则来判断手机是否是ios和Android客户端
			// 当前只有2个版本，判断是安卓就方法地址1 否则地址2
			//android
			var u = navigator.userAgent.toLowerCase(); 
			if(u.match(/MicroMessenger/i) != 'micromessenger'){

				var isAndroid = u.indexOf('android') > -1 || u.indexOf('adr') > -1||u.indexOf('linux') > -1; //android终端
				if(isAndroid){
					var url="http://openbox.mobilem.360.cn/index/d/sid/3306780";
					window.location.href=url;
				}else{
					
					//window.location.href="https://itunes.apple.com/cn/app/gui-an-dian-zhuang/id1128338734?mt=8";
					window.location.href="https://itunes.apple.com/cn/app/gui-an-dian-zhuang/id1128338734?mt=8";
				}
		    }else{
		    	
		    	 document.getElementById('message').innerHTML="请点击右上角用浏览器打开";
		    	//document.write("请点击右上角用浏览器打开");
		    }
			
			//如果是ios跳转地址 href="https://itunes.apple.com/cn/app/gui-an-dian-zhuang/id1128338734?mt=8"
			
					
					
		</script>
</html>
